#! /usr/bin/env bash
# ------------------------------------------------------------
# initialize environmental variables
# ------------------------------------------------------------
echo "Setting up for TinyOS 2.1.1"
export TOSROOT="/opt/tinyos-2.1.1"
export TOSDIR="$TOSROOT/tos"
export CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java:$TOSROOT/support/sdk/java/tinyos.jar
export MAKERULES="$TOSROOT/support/make/Makerules"

# ------------------------------------------------------------
# call each makefile
# ------------------------------------------------------------
#for directory in */; do
#   cd ${directory}
#   make telosb
#   cd ..
#done
